package com.dwxt.race.service.feign;

import com.dwxt.common.base.BaseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

@FeignClient("community")
public interface FileService {
    @RequestMapping("/cms/file/saveFileLocal")
    public BaseResult saveFileLocal(MultipartFile file) throws IOException;
}
